/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ifs.RnD.Graph;

/**
 *
 * @author amiplk
 */
public class MergeEdge {

    private int startX;
    private int startY;
    private int endX;
    private int endY;

    /** Sets the x and y coordinate of the point
     * @param startX
     * @param startY
     */
    public MergeEdge(int startX, int startY) {
        this.startX = startX;
        this.startY = startY;
    }

    /** Sets the x and y coordinates of the starting and ending points
     * @param startX
     * @param startY
     * @param endX
     * @param endY
     */
    public MergeEdge(int startX, int startY, int endX, int endY) {
        this.startX = startX;
        this.startY = startY;
        this.endX = endX;
        this.endY = endY;
    }

    /** Returns the x coordinate of the start point
     * @return int value of the x coordinate
     */
    public int getStartX() {
        return startX;
    }

    /** Sets the x coordinate of the start point
     * @param startX
     */
    public void setStartX(int startX) {
        this.startX = startX;
    }

    /** Returns the x coordinate of the end point
     * @return int value of the x coordinate
     */
    public int getEndX() {
        return endX;
    }

    /** Sets the x coordinate of the end point
     * @param endX
     */
    public void setEndX(int endX) {
        this.endX = endX;
    }

    /** Returns the y coordinate of the end point
     * @return int value of the y coordinate
     */
    public int getEndY() {
        return endY;
    }

    /** Sets the y coordinate of the end point
     * @param endY
     */
    public void setEndY(int endY) {
        this.endY = endY;
    }

    /** Returns the y coordinate of the start point
     * @return int value of the y coordinate
     */
    public int getStartY() {
        return startY;
    }

    /** Sets the x coordinate of the end point
     * @param startY
     */
    public void setStartY(int startY) {
        this.startY = startY;
    }
}
